package com.cloud.cloudshop.client;

import com.cloud.common.entity.GoodsKuEntity;
import com.cloud.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("cloud-stock")
public interface StockServiceClient {

    @RequestMapping("/stock/stock/goodsku/save")
    public R save(@RequestBody GoodsKuEntity goodsKu);
}
